export const smoothIn = (direction,delay) => {
    return {
        hidden: {
            y: direction === 'up' ? 80 : direction === 'right' ? -80 :0,
            opacity: 0,
            x: direction === 'left'? 80 : direction === 'right'? -80 :0,
            transition: {
                type:'tween',
                duration: 1.5,
                delay: delay,
                stiffness: [0.25,0.6,0.3,0.8],
            },
        },
        show: {
            y: 0,
            x: 0,
            opacity: 1,
            transition: {
                type:'tween',
                duration: 1.4,
                delay: delay,
                stiffness: [0.25,0.25,0.25,0.75],
            },
        },
    };
};